<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  
<!-- Mirrored from bos.asmhackers.net/docs/filesystems/ntfs/BadClus.html by HTTrack Website Copier/3.x [XR&CO'2013], Tue, 07 Oct 2014 11:26:07 GMT -->
<head>
    <title>NTFS Documentation: $BadClus</title>
  </head>

  <body> 
    <h1><a href="index-2.html#NTFS" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/index.html#NTFS">NTFS</a> Documentation: $BadClus</h1>

    <h2>Definition</h2>

    This is a <a href="MFT.html#system_file" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/MFT.html#system_file">system file</a> that contains all the bad <a href="glossary.html#Cluster" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Cluster">cluster</a>s of the <a href="glossary.html#Volume" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Volume">volume</a>. This forces the <a href="data.html" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/data.html">data attribute</a> of this <a href="glossary.html#File" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#File">file</a> to be <a href="attribute.html#non_resident" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/attribute.html#non_resident">non-resident</a>.
    <p>

    <h2>Layout</h2>

    All the bad <a href="glossary.html#Cluster" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Cluster">cluster</a>s of the <a href="glossary.html#Volume" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Volume">volume</a>.
    <p>

    <em>Note</em>: Actually, we don't care about the <a href="data.html#layout" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/data.html#layout">stream of the data attribute</a>, because it is never read or written. Only the <a href="runlist.html" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/runlist.html">runlist</a> of the <a href="data.html" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/data.html">data attribute</a> matters.
    <p>

    <h2>Interest</h2>

    A <a href="glossary.html#Cluster" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Cluster">cluster</a> is bad if it contains at least one bad <a href="glossary.html#Sector" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Sector">sector</a>.

    Because this <a href="MFT.html#system_file" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/MFT.html#system_file">system file</a> works as any other <a href="glossary.html#File" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#File">file</a>, all the bad <a href="glossary.html#Cluster" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Cluster">cluster</a>s are marked as used in <a href="Bitmap.html" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/Bitmap.html">the $Bitmap system file</a>, so they can never ever be used by any other <a href="glossary.html#File" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#File">file</a>.
    <p>

    <a href="index-2.html#NTFS" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/index.html#NTFS">NTFS</a> support hot-fixing: no more FAT's &quot;Abort, Retry, Fail?&quot;. If a new bad <a href="glossary.html#Cluster" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Cluster">cluster</a> is found while the system is running, it is silently added to this <a href="glossary.html#File" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#File">file</a>. If the <a href="glossary.html#Cluster" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Cluster">cluster</a> was on a fault tolerant <a href="glossary.html#Volume" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Volume">volume</a>, ftdisk (the fault tolerant <a href="glossary.html#Volume" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/glossary.html#Volume">volume</a> driver) reconstitutes the data and <a href="index-2.html#NTFS" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/index.html#NTFS">NTFS</a> stores them in another <a href="Bitmap.html" tppabs="http://www.via.ecp.fr/~regis/ntfs/new/Bitmap.html">free cluster</a>.
    <p>

    <hr>
    <address><a href="mailto:rduchesne@infovistaus.com">Regis Duchesne</a></address>
<!-- Created: Tue Jan 26 23:10:09 PST 1999 -->
<!-- hhmts start -->
Last modified: Sun Feb 14 15:05:39 PST 1999
<!-- hhmts end -->
  </body>

<!-- Mirrored from bos.asmhackers.net/docs/filesystems/ntfs/BadClus.html by HTTrack Website Copier/3.x [XR&CO'2013], Tue, 07 Oct 2014 11:26:07 GMT -->
</html>
